    <?php $this->load->view('wedding/head');?>
	<script type='text/javascript'>
	$(function() {
		$("#email").blur(function(){
			//校验email
			var email = $('#email').val();
			if(email == ''){
				$('#email_error').html('请输入email地址');
			}else{
				if (/^[\w-]+[\.]*[\w-]+[@][\w\-]{1,}([.]([\w\-]{1,})){1,3}$/.test(email)){
					$('#email_error').html('');
					}else {
						$('#email_error').html('请输入有效的email地址');
						}

				}
			});
		$('#password').blur(function(){
			//校验password
			var password = $('#password').val();
			if (password == ''){$('#pass_error').html('请输入密码');} else {$('#pass_error').html('');}
			});
	});
	</script>
    
	<!-- begin: main content area #main -->
    <div id="main">
        <!-- Subtemplate: 2 Spalten mit 50/50 Teilung -->
        <div class="subcolumns">
          <div class="c62l">
            <div id="content" class="subcl" role="main">
                  <h2>婚庆公司登录</h2>
                  <div class="subcolumns">
                    <form action="login" method="post" id='aaa'>
                    <?php echo validation_errors(); ?>
					<ul class="userInfo">   
						<li><span class="label">Email帐号：</span><input  name="email" id="email" tabindex="1" type="text" value="<?php echo set_value('email');?>" /><span id='email_error' class='error'></span></li>
						<li><span class="label">登录密码：</span><input name="password" id="password" tabindex="3" maxlength="16" type="password" value=""/><span id='pass_error' class='error'></span></li>
					</ul>
					<input style="margin-left:40px;" type="submit" value="登录"/>
					</form>
                  </div>
            </div>
          </div>
        
          <div class="c38r">
            <div class="subcr"  role="complementary">
                  <div class="info">
                    <h4>Development Information</h4>
                    <p>Ver. 3.2<br />
                      $Revision: 430 $<br />
                      $Date: 2009-10-27 21:15:57 +0100 (Di, 27. Okt 2009) $</p>
                  </div>
                  <div class="info">
                  <h3>Quick start using YAML</h3>
                  <h4><em>&laquo;Simple Project&raquo; Template</em></h4>
                  <p>You need some  help for a quick start? Just <a href="http://www.yaml.de/en/download.html">download</a> and unpack the <em>&laquo;Simple Project&raquo; template </em> on your server or local machine. It includes a <a href="http://www.yaml.de/en/documentation/practice/general.html"><strong>ready to use</strong> folder structure</a> containing all necessary files for your first YAML-based layout.</p>
                  <p>If you're familiar with HTML &amp; CSS, you can start building your screen layout  by editing <em>basemod.css</em> &amp; <em>content.css</em> in the <em>css/screen/</em> folder.                  </p>
                  </div>
               </div>
            </div>
          </div>
        </div> 

    </div>
    <!-- end: #main -->
<?php $this->load->view('user/footer');?>